<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改联系人信息</title>
    <style>
        tr {
            line-height: 27px;
        }

        h2 {
            margin-left: 80px;
        }
    </style>
</head>
<body>
<div align="center">

    <form action="${pageContext.request.contextPath}/doUpdate" method="get">

        <table border="1" cellspacing="0">
            <tr>
                <th colspan="2" style="font-size: 30px">修改联系人</th>
            </tr>
            <tr>
                <td>姓名(*)</td>
                <td>
                    <input type="hidden" name="id" value="${contact.id}">
                    <input type="text" class="cname" name="cname" value="${contact.cname}">
                </td>
            </tr>

            <tr>
                <td>手机(*)</td>
                <td><input type=" text" class="mobile" name="mobile" value="${contact.mobile}"><span></span></td>
            </tr>

            <tr>
                <td>QQ(*)</td>
                <td><input type=" text" class="qq" name="qq" value="${contact.qq}">
                </td>
            </tr>

            <tr>
                <td>Email(*)</td>
                <td><input type=" text" class="email" name="email" value="${contact.email}">
                </td>
            </tr>

            <tr>
                <td>地址(*)</td>
                <td>
                    <%--                <input type="hidden" name="status" value="0"/>--%>
                    <input type=" text" class="address" name="address" value="${contact.address}">
                </td>
            </tr>
            <tr>
                <td colspan=" 2" align="center">
                    <button>修改</button>&nbsp;&nbsp;<input type="reset" value="重置">&nbsp;
                    <button type="button" onclick="history.back();">返回</button>
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
